package ssm.service;

import org.apache.ibatis.annotations.Param;
import ssm.model.entity.User;

import java.util.Map;

public interface UserService {
    int save(Map<String, String> userInfo);

    User findByPhone(@Param("phone") String phone);

    String findByPhoneAndPwd(String phone, String pwd);

    User findByUserId(Integer user_id);

}
